/*
 * PPM.h
 *
 *  Created on: Feb 18, 2010
 *      Author: admin
 */

#ifndef PPM_H_
#define PPM_H_

#include <iostream>
#include <fstream>
#include <string>
#include <cstdio>
#include <cstdlib>

#include "Matrix.h"
#include "Pixel.h"

using namespace std;

class PPM {

public:
	PPM();
	virtual ~PPM();

	void load(const char * fileName);
	void save(const char * fileName);

	void invert();
	void enlarge(int factor);
private:
	Matrix<Pixel> m_image;
};

#endif /* PPM_H_ */
